{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>{% block title %}{% endblock title %}</title>
    <link rel="stylesheet" type="text/css" href="{% static 'res/layui/css/layui.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'res/css/main.css' %}">
    <!--加载meta IE兼容文件-->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript" src="{% static 'res/layui/layui.js' %}"></script>
    <script type="text/javascript">
        var BASE_UTIL_PATH = "{% static 'res/js/util/' %}";
    </script>
</head>
<body>
{% include 'head.html' %}
<div class="container-page">
    <div class="layui-container">
        <div class="layui-row layui-col-space10">
            {# 首页的内容显示是左边为导航，右边为内容 ，而具体的内容页，是 首页的内容显示是左边为内容，右边为导航#}
            {% if condition %}

            {% endif %}
            {% include 'slider.html' %}
            <div class="layui-col-md9">
                {% block main %}
                {% endblock main %}
            </div>
        </div>
    </div>
    {% include 'footer.html' %}
</div>
</body>
</html>